package service;

import java.util.ArrayList;

import bean.OrderRecipients;
import bean.Orders;
import bean.ShopItems;

public interface OrdersService {

	public ArrayList<Orders> getAllOrders();
	
	public ArrayList<Orders> getOrderStatusById(String orderId);
	
	public ArrayList<Orders> getOrdersAndGoods(int orderUser);
	
	public ArrayList<Orders> getOrderDetailByUsers(int orderUser);
	
	
	public ArrayList<Orders> getPageOrdersByPageNum(int pageNum);
	
		//����UUID��ȡһ������
	public Orders getOrderStatusByUUId(String orderId);

	//����һ���¶���
	public int setNewOrders(String orderId, OrderRecipients orderRecipients, int userId, Double orderPrice);
	
	//����һ��������ȫ������ϸ��
	public int setNewOrdersDetail(String orderId, ArrayList<ShopItems> shopItems);
	
}
